package com.configclient.configclient.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dfj@99chuxing.com
 * @date 2018/4/17 0017 15:46
 */
@RestController
public class ConfigCheckController {


    @Value("foo")
    private String foo;

    @RequestMapping("/config")
    public String getConfig() {
        return foo;
    }


}
